home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Concept 6
/
CD Concept 06.iso
/
mac
/
UTILITAIRE
/
U-Tile+ 3.0.4
/
Examples of Macro Commands
next >
Wrap
Text File
|
1994-12-09
|
1KB
|
34 lines
# TO EXECUTE THE FOLLOWING MACRO:
# Ñ TYPE THE CORRECT PATHNAME INTO THE COMMAND ╥Folder╙ BELOW;
# Ñ DO ╥Select all╙ IN THE EDIT MENU; and finally
# Ñ HIT THE ENTER KEY.
# The character "#" means that the rest of the line is just comments,
# which will be ignored by U-Tile+╒s parser.
# First set the folder in which you are working.
# IMPORTANT: Don╒t forget to modify the following line!
Folder("Your Hard Disk:╔╔╔╔╔╔:U-Tile+ Folder");
# Now create a list of the words in the text document ":U-Tile+ READ ME".
# The colon character before the file name tells U-Tile+ to look
# in the folder specified above with the "Folder" command".
CatalogueWords(":U-Tile+ READ ME",
"Pan-European",
Liaison("-"),
ignoreCase);
# Now let's close the text document because we no longer need it.
CloseDocument(":U-Tile+ READ ME");
# Now sort the word list to obtain a list in decreasing order of
# frequency. The character "┐" means that the secondary alphabetic
# ordering of column 1 is normal, i.e. not inverse.
Sort(":U-Tile+ READ ME.Lst",
2, numeric, inverse, # Sort column 2 in inverse numeric order
1, alphabetic, ┐); # Secondarily, sort column 1 alphabetically